log.info 'Starting'
def gitpush(String url){
                      
              checkout([$class: 'GitSCM',
                          branches: [[name: "${BRANCH_TAG}"]],
                          doGenerateSubmoduleConfigurations: false,
                          extensions: [],
                          gitTool: 'Default',
                          submoduleCfg: [],
                          userRemoteConfigs: [[url: "${url}"]]
                        ])
             script {
                 GIT_TAG = sh(returnStdout: true,script: 'git describe --tags --always').trim()    
                 println "${GIT_TAG}"
                }
}